package com.ht.file.dao;

import java.util.List;

import com.ht.file.entity.FileDirectory;
import com.ht.right.dao.BaseDao;

public interface FileDirectoryDao extends BaseDao<FileDirectory> {
	
	//添加文件目录
	public void addFileDirectory(FileDirectory fileDirectory);
	
	//通过code查询文件目录详细
	public FileDirectory fileDirectory(String fileDirectoryCode);
	
	//查询所有一级目录
	public List<FileDirectory> fileDirectoryList();
	
	//通过父code查询子文件目录
	public List<FileDirectory> fileDirectoryChildList(String fileDirectoryParentCode);
	
	//更新文件目录信息
	public void updateFileDirectory(FileDirectory fileDirectory);
	
	//删除部门
	public void deleteFileDirectory(FileDirectory fileDirectory);
	
}